from django.conf.urls import url
from django.urls import path

from ImageBed import views


urlpatterns = [
    # 图床上传
    path('bedapi/v1/upload/', views.UploadView.as_view(), name='upload'),
    path('bedapi/v1/get_history/', views.HistoryView.as_view(), name='get_history'),
    path('bedapi/v1/delete/', views.DeleteView.as_view(), name='delete'),
    path('bedapi/v1/hidden/', views.HiddenView.as_view(), name='hidden'),
]
